package lab02.test35;

public class Test35 {
    public static void main(String[] args) {
        Manager manager = new Manager();
        manager.ID = "001";
        manager.name = "张三";
        manager.sex = "男";
        manager.salary =30000 ;

        Salesman salesman = new Salesman();
        salesman.ID = "002";
        salesman.name = "李四";
        salesman.sex = "男";
        salesman.salary = 4000;
        salesman.rate = 0.2;

        Worker worker = new Worker();
        worker.ID = "003";
        worker.name = "王五";
        worker.sex = "男";
        worker.dsalary = 500;
        worker.day = 30;

        System.out.println("经理："+ manager.toString());
        System.out.println("销售人员："+ salesman.toString());
        System.out.println("工人："+worker.toString());

    }
}
